import request from '@/utils/request'

// 查询GdWithdrawRecord列表
export function listGdWithdrawRecord(query) {
    return request({
        url: '/api/v1/gdwithdrawrecord',
        method: 'get',
        params: query
    })
}

// 查询GdWithdrawRecord详细
export function getGdWithdrawRecord (ID) {
    return request({
        url: '/api/v1/gdwithdrawrecord/' + ID,
        method: 'get'
    })
}


// 新增GdWithdrawRecord
export function addGdWithdrawRecord(data) {
    return request({
        url: '/api/v1/gdwithdrawrecord',
        method: 'post',
        data: data
    })
}

// 修改GdWithdrawRecord
export function updateGdWithdrawRecord(data) {
    return request({
        url: '/api/v1/gdwithdrawrecord/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdWithdrawRecord
export function delGdWithdrawRecord(data) {
    return request({
        url: '/api/v1/gdwithdrawrecord',
        method: 'delete',
        data: data
    })
}

